﻿namespace Nb.Common.Hardwares
{
    public class HardwareInfoService : IHardwareInfoService
    {
        public HardwareInfo ReadHardwareInfo()
        {
            var cpus = HardwareReader.ReadAllCpu();
            var disks = HardwareReader.ReadAllDisk();
            var macs = HardwareReader.ReadAllMac();

            var machineInfo = new HardwareInfo(cpus, disks, macs);
            return machineInfo;
        }
    }
}